package com.egdk.api.mapp;

import com.egdk.api.entity.ElPaperQuAnswer;
import com.egdk.api.entity.ElPaperQuAnswerExample;
import java.util.List;

import com.ruoyi.web.controller.exam.dto.PaperQuAnswerExtDTO;
import org.apache.ibatis.annotations.Param;

public interface ElPaperQuAnswerMapper {
    long countByExample(ElPaperQuAnswerExample example);

    int deleteByExample(ElPaperQuAnswerExample example);

    int deleteByPrimaryKey(String id);

    int insert(ElPaperQuAnswer record);

    int insertSelective(ElPaperQuAnswer record);

    List<ElPaperQuAnswer> selectByExample(ElPaperQuAnswerExample example);

    ElPaperQuAnswer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ElPaperQuAnswer record, @Param("example") ElPaperQuAnswerExample example);

    int updateByExample(@Param("record") ElPaperQuAnswer record, @Param("example") ElPaperQuAnswerExample example);

    int updateByPrimaryKeySelective(ElPaperQuAnswer record);

    int updateByPrimaryKey(ElPaperQuAnswer record);

    List<PaperQuAnswerExtDTO> listForExam(@Param("paperId") String paperId,@Param("quId") String quId);
}